package com.quartz.com.observer;

public class ObserverB implements Observer{
    BeingObserver b=new BeingObserver();
    @Override
    public void order() {
        System.out.printf("我监听到了B");
    }
    ObserverB (BeingObserver b){
        this.b=b;
        b.addObserver(this);
    }
}
